home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / C / Applications / Portable Patmos / src / portable kernel / mac / crtlocal.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-05-22  |  854 b   |  35 lines  |  [TEXT/KAHL]

  1. #include <Types.h>
  2. #include <Errors.h>
  3. #include <Memory.h>
  4. #include <OSUtils.h>
  5. #include <SegLoad.h>
  6. #include <Quickdraw.h>
  7. #include <Files.h>
  8. #include <Menus.h>
  9. #include <Fonts.h>
  10. #include <TextEdit.h>
  11.  
  12. extern struct crt_fd_tab    { long fd; short flags; } crt_fd_tab[];
  13. extern long                 crt_parID,root_parID;
  14. extern short                 crt_ioVRefNum;
  15. extern WindowPtr            crt_myWindow;
  16. extern TEHandle                crt_TEH;
  17. extern unsigned char interrupt;
  18.  
  19. #if 0
  20. extern CursHandle nxt[8];
  21. extern unsigned char ccnt;
  22. #endif
  23.  
  24. int macstat(StringPtr path, struct stat *buf, short nVRefNum, long lDirID );
  25. FSSpec getparent(long parID);
  26. FSSpec hfs_canon(long parID, const char *name, int follow);
  27.     
  28. #include <stdio.h>
  29. #define unixTime(t) (t - (time_t)0x7c25b080)
  30. #define O_TEXT        0x0100
  31. #define O_BINARY    0x0000
  32. #define O_RESOURCE    0x1000
  33. #define O_PIPE        0x2000
  34. #define O_CATALOG    0x4000
  35.